﻿
<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['synerrorlog']=array (
  'columns' =>
  array (
    'log_id' =>
    array (
      'type' => 'number',
      'extra' => 'auto_increment',
      'pkey' => true,
      'label' => app::get('b2c')->_('订单同步错误日志id'),
    ),
    
    'CreateTime' => 
    array (
      'type' => 'time',
      'label' => app::get('b2c')->_('创建时间'),
      'width' => 110,
      'editable' => false,
      'filtertype' => 'time',
      'filterdefault' => true,
      'in_list' => true,
      'default_in_list' => true,
    ),
    
    'DocNo' =>
    array (
      'type' => 'bigint unsigned',
      'required' => true,
      'default' => 0,
      'in_list' => true,
      'default_in_list' => true,
      'label' => app::get('b2c')->_('同步订单号'),
       'width' => "100",
    ),

    'CrontabId' => array(
        'type'=>'varchar(100)',
        'required'=> true,
        'label' => app::get('base')->_('定时任务'),
        'editable'=> false,
        'in_list'=> false,
        'default_in_list'=> false,
        'width' => 70, 
        'order' => 10,
    ),
    
    'Issyn' =>
    array (
      'type' => 'bool',
      'default' => 'false',
      'required' => true,
      'label' => app::get('b2c')->_('同步状态'),
      'in_list' => true,
      'default_in_list' => true,
    ),

    'FailureReason' => 
    array (
      'type' => 'longtext',
      'editable' => false,
      'label' => app::get('b2c')->_('失败原因'),
      'in_list' => true,
      'default_in_list' => true,
       'width' => "300",
    ),

    'Memo' => 
    array (
      'type' => 'longtext',
      'editable' => false,
      'label' => app::get('b2c')->_('备注'),
      'in_list' => true,
    ),

  ),
  
  'engine' => 'innodb',
  'version' => '$Rev: 42798 $',
  'comment' => app::get('b2c')->_('订单同步错误日志表'),
);
